﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace HF.WorkFlow.DataContract
{
    /// <summary>
    /// 子流程配置数据契约
    /// </summary>
    /// <remarks>描述子流程配置的数据契约</remarks>
    [DataContract]
    public class SubWorkFlowEntity
    {
        /// <summary>
        /// 子流程配置信息Id
        /// </summary>
        [DataMember]
        public string SubWFId { get; set; }
        /// <summary>
        /// 流程模板Id
        /// </summary>
        [DataMember]
        public string WorkFlowId { get; set; }
        /// <summary>
        /// 任务模板Id
        /// </summary>
        [DataMember]
        public string WorkTaskId { get; set; }
        /// <summary>
        /// 子流程id
        /// </summary>
        [DataMember]
        public string SubWorkFlowId { get; set; }
        /// <summary>
        /// 子流程名称
        /// </summary>
        [DataMember]
        public string SubWorkFlowCaption { get; set; }
        /// <summary>
        /// 子流程开始任务的id
        /// </summary>
        [DataMember]
        public string SubStartTaskId { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [DataMember]
        public string Description { get; set; }
    }
}
